﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HomePage.master" AutoEventWireup="true"
    CodeFile="TimKiem.aspx.cs" Inherits="TimKiem" %>

<%@ Register Assembly="PagerControl" Namespace="CutePager" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>
        <%= Request.QueryString["DiaDiem"] %>
    </title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="title_page">
        <div class="title_page_L">
        </div>
        <div class="title_page_Ce">
            TÌM KIẾM: <font color="#ccc">
                <%= Request.QueryString["DiaDiem"] %></font>
        </div>
        <div class="title_page_R">
        </div>
    </div>
    <div class="buynew">
        <div class="product">
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                    <asp:DataList ID="dlChuyenmuc" runat="server" RepeatColumns="3" RepeatDirection="Horizontal"
                        Width="100%">
                        <ItemTemplate>
                            <div class="product_item">
                                <div class="product_img">
                                    <span class="name">
                                        <asp:HyperLink ID="linkproduct" runat="server" NavigateUrl='<%# "~/SanPhamND.aspx?Id=" + Eval("Id") + "&TieuDe=" + Eval("TenDiaDiem") %>'>
                                        <%# Eval("TenDiaDiem") %>
                                        </asp:HyperLink></span>
                                    <asp:Image ID="imageproduct" runat="server" CssClass="product" Width="265" Height="170"
                                        ImageUrl='<%# "Upload/SanPham/" + Eval("AnhDaiDien") %>' />
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:DataList>
                    <cc1:Pager ID="Pager1" runat="server" PreviousClause='<html><img src="Images/prevBtn.gif" /></html>'
                        NextClause='<html><img src="Images/nextBtn.gif" /></html>' LastClause="" FirstClause=""
                        PageClause="<html><b>Trang </b></html>" OfClause=" /" PageSize="15" ToClause="đến"
                        ShowResultClause="Hiển thị từ" ShowingResultClause="Đang hiển thị từ" BackToPageClause="Quay lại trang"
                        NextToPageClause="Đến trang" OnCommand="Pager1_Command" ForeColor="#006600" Font-Bold="True" />
                </ContentTemplate>
                <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="Pager1" EventName="Command" />
                </Triggers>
            </asp:UpdatePanel>
        </div>
    </div>
</asp:Content>
